Only run docs-building sessions with Python 3.8.#4210
Merged
trexfeathers merged 1 commit intoSciTools:mainfrom Jul 7, 2021
Merged
Only run docs-building sessions with Python 3.8.#4210trexfeathers merged 1 commit intoSciTools:mainfrom
trexfeathers merged 1 commit intoSciTools:mainfrom
Conversation
trexfeathers
requested changes
Jun 25, 2021
Contributor
trexfeathers
left a comment
There was a problem hiding this comment.
Good idea @pp-mo, but I think we can reduce the complexity slightly.
Member
Author
|
Simplified code as review requested. |
Member
Author
|
Rebased. |
trexfeathers
approved these changes
Jul 7, 2021
Contributor
|
Thanks @pp-mo, LGTM! |
tkknight
added a commit
to tkknight/iris
that referenced
this pull request
Jul 21, 2021
* main: (43 commits) [pre-commit.ci] pre-commit autoupdate (SciTools#4244) Updated environment lockfiles (SciTools#4242) [pre-commit.ci] pre-commit autoupdate (SciTools#4239) Documented the --force option on conda env create (SciTools#4240) Updated environment lockfiles (SciTools#4237) pre-commit isort and black --check only for cirrus-ci (SciTools#4235) Only run docs-building sessions with Python 3.8. (SciTools#4210) consolidate cirrus-ci documentation tasks (SciTools#4219) Updated environment lockfiles (SciTools#4223) Replace pyke nopyke (SciTools#4198) drop cirrus-ci minimal tests (SciTools#4218) remove change management tech paper (SciTools#4217) [pre-commit.ci] pre-commit autoupdate (SciTools#4213) Updated environment lockfiles (SciTools#4212) Widen cube printout for long ancil or cell-measure names. (SciTools#4124) convert docs print statements (SciTools#4209) optimise pre-commit (SciTools#4208) drop black and flake8 dependencies (SciTools#4181) pre-commit blacked docs (SciTools#4205) pre-commit update (SciTools#4204) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Pull Request
Make sessions that build docs (doctest, gallery, linkcheck) only support Python 3.8.
Hitherto we offered 'docstest-3.7' and 'docstest-3.8'. We could still do that, but I'm choosing not to.
(since Py3.7 gives different results in some cases)
Likewise, if nox is called specifying a specific unsuitable python, via the PY_VER environment variable, we could still run the session, with Python3.8, but instead I chose not to allow it all.
So..
nox -s doctestnow runs with Python 3.8PY_VER=3.8 nox -s docteststill works* this is how cirrus invokes it
PY_VER=3.7 nox -s doctestnow gives an errorNew behaviours demonstrated :